package com.wuyu.ibatis.session;

import com.wuyu.ibatis.config.Configuration;

import java.sql.Connection;

public class DefaultSqlSessionFactory implements SqlSessionFactory  {

    private final Configuration configuration;

    public DefaultSqlSessionFactory(Configuration configuration) {
        this.configuration = configuration;
    }


    @Override
    public SqlSession openSession() {
        return null;
    }

    @Override
    public SqlSession openSession(boolean autoCommit) {
        return null;
    }

    @Override
    public SqlSession openSession(Connection connection) {
        return null;
    }

    @Override
    public Configuration getConfiguration() {
        return configuration;
    }
}
